﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TM.Model;

namespace TM.Data.Contracts
{
    public interface IProjectRepository:IRepository<Project>
    {
        IQueryable<Project> GetAllOfTheOwner(int ownerId);
        IQueryable<Project> GetAllOfTheOwner(int ownerId, DateTime startDate);
        IQueryable<Project> GetAllOfTheOwnerByCreationDate(int ownerId, DateTime createdDate);
        IQueryable<Project> GetAllOfTheOwnerByActualStartDate(int ownerId, DateTime actualStartDate);
    }
}
